<?php
/**
 * Created by PhpStorm.
 * User: fire
 * Date: 2018/10/9
 * Time: 9:30
 */

/* 将 create make raw 方法抽离出来  */

function create ($class,$attributes = [],$times=null)
{
    return factory($class,$times)->create($attributes);
}

function make ($class,$attributes = [],$times=null)
{
    return factory($class,$times)->make($attributes);
}

function raw($class,$attributes = [],$times=null)
{
    return factory($class,$times)->raw($attributes);
}


